<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script type="text/javascript" src="../js/vue.js"></script>
  <title>初始vue</title>
</head>
<body>
  <div id="root">
    <h2>hello {{ name }} !</h2>
  </div>
  <script type="text/javascript">
    Vue.config.productionTip = false //阻止vue启动时生成生产提示
    const x= new Vue({
      el:'#root', //选择挂载点，指定vue实例为哪个容器服务
      data:{ //data 用于存储数据
        name:'Vue'
      }
    })
  </script>
</body>
</html>